// 配置
var envir = 'test',
  CONFIG = {},
  configMap = {
    test: {
      appkey: 'bbf9726a74a74c1fee92d695f18197f7',
      url: 'https://apptest.netease.im',
      base:'http://api.tanwancat.com/'
    },

    pre: {
      appkey: 'bbf9726a74a74c1fee92d695f18197f7',
      url: 'http://preapp.netease.im:8184',
      base:'http://api.tanwancat.com/'
    },
    online: {
      appkey: 'bbf9726a74a74c1fee92d695f18197f7',
      url: 'https://app.netease.im',
      base:'http://api.tanwancat.com/'
    }
  };
CONFIG = configMap[envir];
// 是否开启订阅服务
CONFIG.openSubscription = true

module.exports = CONFIG